home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
002
/
wp42msa.arc
/
WP41.BAT
< prev
next >
Wrap
DOS Batch File
|
1986-02-23
|
811b
|
28 lines
echo off
rem
rem if you need to debug this batch file, you can add an
rem argument, which will cause the echo to be turned on.
rem e.g. word x will start echoing at the saveenv command.
if not %1a==a echo on
rem Your mouse driver must be preloaded to use the menu:
mouse
rem save the current directory and selected environment vars.
saveenv
rem change to the directory containing the Word Perfect Menus
c:
cd\mouse
menu wp41
rem change to the directory containing your text files
cd\wp\files
rem dos 2.x users will either have to have wp in their path
rem They cannot specify programs to run from specific directories
rem as follows:
c:\wp\wp
rem When processing is finished, turn the menu off
c:
cd\mouse
menu off
rem And then, restore the environment saved by saveenv
cd\
$oldenv2